export interface IMessage {
  username: string;
  msg: string;
  avatar: string;
  from: 'received' | 'sent';
  msgType: 'text' | 'image';
  id: string;
  showTime: boolean;
  time: string;
}

export interface IMessagePreview {
  title: string;
  avatar: string;
  time: string;
  unread: boolean;
  unReadCount?: number;
  lastMessage: string;
  sort: number;
  type: 'sole' | 'group' | 'system';
  disturb: boolean;
  topping: boolean;
  id: string;
  show: boolean;
  messageList: IMessage[];
}
